package com.nowcoder.community.util;

public interface Constants {
    int DEFAULT_EXPIRED_MINUTE = 720;
    int DEFAULT_REMEMBER_ME_EXPIRED_MINUTE = 43200;

    int SYSTEM_ID = 1;

    String SYSTEM_NOTICE_COMMENT = "comment";
    String SYSTEM_NOTICE_LIKE = "like";
    String SYSTEM_NOTICE_FOLLOW = "follow";


    /**
     * 实体类型: 帖子
     */
    int ENTITY_TYPE_POST = 1;

    /**
     * 实体类型: 评论
     */
    int ENTITY_TYPE_COMMENT = 2;

    /**
     * 点赞状态
     */
    int LIKE_STATUS_UNLIKED = 0;
    int LIKE_STATUS_LIKED = 1;


    // 消息状态 未读, 已读, 删除
    int MESSAGE_STATUS_UNREAD = 0;
    int MESSAGE_STATUS_READ = 1;
    int MESSAGE_STATUS_DELETE = 2;

    // 消息队列topic定义
    String USER_COMMENT_TOPIC = "user-comment";
    String USER_LIKE_TOPIC = "user-like";
    String USER_FOLLOW_TOPIC = "user-follow";
}
